package com.simple.llm.domain.dto;

import com.simple.llm.domain.vo.LLMResponseVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ToString
@ApiModel
public class LLMStreamResultDTO {
    @ApiModelProperty("请求状态")
    private boolean status;
    @ApiModelProperty("请求成功流式输出完毕后的响应内容")
    private LLMResponseVO llmResponseVO;
    @ApiModelProperty("错误附加信息")
    private String errorMsg;
    @ApiModelProperty("错误异常")
    private Throwable error;
    @ApiModelProperty("消息父级id")
    private String parentMessageId;
    @ApiModelProperty("本次消息id")
    private String messageId;
    @ApiModelProperty("预留的业务id，内容与输入一致")
    private String chatId;
}
